package com.stox.model;

import javax.persistence.Embedded;
import javax.persistence.Entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import org.springframework.data.jpa.domain.AbstractAuditable;

@Data
@Entity
@EqualsAndHashCode(callSuper=true)
public class User extends AbstractAuditable<User, Long>{
	private static final long serialVersionUID = 1L;

	@Embedded
	private Name name;
	
	
}
